package net.xdclass.springboot.Listener;

import jakarta.servlet.ServletRequestEvent;
import jakarta.servlet.ServletRequestListener;
import jakarta.servlet.annotation.WebListener;

@WebListener
public class MyRequestListener implements ServletRequestListener {

    public void requestDestroyed(ServletRequestEvent sre)
    {
        System.out.println("requestDestroyed");
    }

    public void requestInitialized(ServletRequestEvent sre)
    {
        System.out.println("requestInitialized");
    }
  }